<template>
    <div>
        首页

    </div>

    <el-button type="primary" @click="onShow">Default</el-button>
    <SysDialog :title="dialog.title" :visible="dialog.visible" :width="dialog.width" :height="dialog.height" @on-close="onClose" @on-confirm="onConfirm">
        <!-- 弹框内容 -->
        <template v-slot:content>

        </template>
    </SysDialog>
</template>

<script setup lang="ts">
import SysDialog from '@/components/SysDialog.vue';

import useDialog from '@/hooks/useDialog';

const { dialog,onShow,onClose,onConfirm } = useDialog();





</script>

<style scoped></style>